package com.agile.leetcode.chain;

/**
 * @author CZK
 * @date 2022/7/5 16:52
 */
public class Test {
    public static void main(String[] args) {
        FilterChain chain = new FilterChain();
        chain.addFilter(new HttpFilter());
        chain.addFilter(new EncodingFilter());
        chain.setTarget("xx");
        chain.doFilter(new Request("czk"),new Response("nzq"),chain);
    }
}
